package cn.tedu.hospital.management.service;

import cn.tedu.common.consts.data.MallConsts;
import cn.tedu.hospital.management.pojo.entity.City;
import cn.tedu.hospital.management.pojo.entity.Level;
import cn.tedu.hospital.management.pojo.entity.Province;
import cn.tedu.hospital.management.pojo.entity.Type;
import cn.tedu.hospital.management.pojo.param.*;
import cn.tedu.hospital.management.pojo.vo.HospitalHospitalVO;
import cn.tedu.hospital.management.pojo.vo.HospitalStandardVO;
import cn.tedu.hospital.management.pojo.vo.HospitalVO;

import java.util.List;

public interface IHospitalService extends MallConsts {

    void insert(HospitalAddNewParam param);

    void delectById(Long id);
    void updateById(Long id , HospitalUpdateParam hospitalUpdateParam);

    List<HospitalHospitalVO> listAll();

    /*新增医院*/
    void addNew(HospitalAddNewParam hospitalAddNewParam);

    /*根据id删除医院*/
    void delete(Long id);

    /*根据id修改医院信息*/
    void updateInfoById(Long id, HospitalUpdateInfoParam hospitalUpdateInfoParam);

    /*根据id查询医院信息*/
    HospitalStandardVO getStandardById(Long id);

    List<Province> getProvince();
    List<City> getSmallCity(int pid);
    List<Level> getAllLevel();
    List<Type> getAllType();
    List<HospitalVO> getHospitals(HospitalParam hospitalParam);

    void avatar(String name, HosAddNewParam hosAddNewParam);
}
